12. Notebook + Quiz: Dummy Variables
Workspace
This section contains either a workspace (it can be a Jupyter Notebook workspace or an online code editor work space, etc.) and it cannot be automatically downloaded to be generated here. Please access the classroom with your account and manually download the workspace to your local machine. Note that for some courses, Udacity upload the workspace files onto https://github.com/udacity , so you may be able to download them there.
Workspace Information:
- Default file path:
- Workspace type: jupyter
- Opened files (when workspace is loaded): n/a
SOLUTION:
- The confidence interval for the intercept is a range from a very very large negative number to a very very large positive number.
- The confidence interval for the slope associated with neighborhood A is a range from a very very large negative number to a very very large positive number.
- The confidence interval for the slope associated with neighborhood B is a range from a very very large negative number to a very very large positive number.
- The confidence interval for the slope associated with neighborhood C is a range from a very very large negative number to a very very large positive number.
QUIZ QUESTION: :
Based on the results of your multiple linear regression model from question 2, match each neighborhood to the description that correctly describes how the neighborhood homes compare to the other neighborhoods.
ANSWER CHOICES:
Neighborhood |
Description |
---|---|
On average, this neighborhood is the least expensive. |
|
On average, this neighborhood is the second most expensive of the three neighborhoods. |
|
On average, this neighborhood is the most expensive. |
SOLUTION:
Neighborhood |
Description |
---|---|
On average, this neighborhood is the least expensive. |
|
On average, this neighborhood is the second most expensive of the three neighborhoods. |
|
On average, this neighborhood is the most expensive. |
SOLUTION:
- There is statistically significant evidence that the average home price in neighborhood B differs from the average home price in neighborhood A.
- There is statistically significant evidence that the average home price in neighborhood B differs from the average home price in neighborhood C.
QUIZ QUESTION: :
Use the results from your multiple linear regression model in question 4 above to match the values to the appropriate spot in the descriptions below.
ANSWER CHOICES:
Description |
Value |
---|---|
8.1 |
|
0 |
|
7168, B |
|
80.9 |
|
7168, A |
|
70560, ranch |
|
99960 |
|
70560, lodge |
|
173200 |
|
9996 |
|
17320 |
SOLUTION:
Description |
Value |
---|---|
80.9 |
|
7168, A |
|
70560, ranch |
|
99960 |
|
173200 |